{% extends "base.html" %}
{% block title %}学生详情页{% endblock %}
{% block styles %}
    {{ super() }}

{% endblock %}
{% block page_content %}
    {{ super() }}

    <a href="{{ url_for('student_update', idx=student.id) }}" class="btn btn-info">修改</a>
    <br/><br/>

    <table class="table table-bordered">
    <thead>
    <tr>
        <th>项目</th>
        <th>内容</th>
    </tr>
    </thead>
    <tbody>
        <tr><td>姓名</td><td>{{ student.name }}</td></tr>
        <tr><td>性别</td><td>{{ student.gender }}</td></tr>
        <tr><td>班级</td><td>{{ student.class_name }}</td></tr>
    </tbody>

{% endblock %}
